package com.nbot.server.mapper.master;

import com.nbot.server.domain.AnalogalarmDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author nbot
 * @email nbot@163.com
 * @date 2018-06-24 02:28:18
 */
@Mapper
public interface AnalogalarmMapper {

	AnalogalarmDO get(Long autoid);
	
	List<AnalogalarmDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(AnalogalarmDO analogalarm);
	
	int update(AnalogalarmDO analogalarm);
	
	int remove(Long autoid);
	
	int batchRemove(Long[] autoids);

    List<AnalogalarmDO> listSwitchPoint();

	AnalogalarmDO getopcdatapath(String opcpoint);

	AnalogalarmDO getByTag(String getdatapath);

	int getMaxAutoid();
}
